package com.amit.Basic_Simple_Program;

public class String_Display {

	public static void main(String[] args)
	{

		String s1="amit yadav";
		
		System.out.println(s1.toString());
		System.out.println(s1.length());
		
		
		String s2[]=s1.split(" ");
		String result=" ";
		
		for(int i=s2.length-1;i>=0;i--)
		{
			result=result+" " +s2[i];
		}
		
	System.out.println(result.trim());
		
	
		
		
		
		
		
	}

}
